package com.netty.server.dao;


import com.netty.server.server.session.UserSessions;


/**
 * @author 李醴茝
 */
public interface UserSessionsDAO {

    void save(UserSessions s);

    UserSessions get(String sessionid);

    void cacheUser(String uid, String sessionId);

    void removeUserSession(String uid, String sessionId);

    UserSessions getAllSession(String userId);
}
